QT       += core gui  printsupport serialport

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++1y

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

INCLUDEPATH += $${PWD}/3d-part
INCLUDEPATH += $${PWD}/3d-part/qcustomplot

LIBS += -lboost_filesystem -lboost_system -lboost_date_time


SOURCES += \
    3d-part/qcustomplot/qcustomplot.cpp \
    AdjustFrom.cpp \
    DebugForm.cpp \
    main.cpp \
    mainwindow.cpp \
    src/Widget/CustomChart.cpp \
    src/Widget/Gau/dashboard1.cpp \
    src/base/Fast/config.cpp \
    src/device/Motor/motor.cpp

HEADERS += \
    3d-part/qcustomplot/qcustomplot.h \
    AdjustFrom.h \
    DebugForm.h \
    mainwindow.h \
    src/Widget/CustomChart.h \
    src/Widget/Gau/dashboard1.h \
    src/base/Fast/config.h \
    src/base/Logic.h \
    src/base/errors.h \
    src/define/func_define.h \
    src/device/Motor/decodeMotor.h \
    src/device/Motor/motor.h

FORMS += \
    AdjustFrom.ui \
    DebugForm.ui \
    mainwindow.ui \
    src/Widget/CustomChart.ui \
    src/Widget/Gau/dashboard1.ui

TRANSLATIONS += \
    WeldSwing_zh_CN.ts

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

DISTFILES += \
    com
